"""
元类：
    1. 类是元类的实例
    2. 元类是类的元类
    3. 元类是type的实例
"""
#  元类案例
class MyMetaClass(type):
    def __new__(cls, name, bases, attrs):
        print("MyMetaClass __new__", cls, name, bases, attrs)
        return super().__new__(cls, name, bases, attrs)
